import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

import axios from "axios";
/**  vue2 
Vue.prototype.$http=axios;
组件中 
this.$http.get
this.$http.post
this.$http.put
this.$http.delete
*/

const app=createApp(App);
app.config.globalProperties.$http=axios;


//app.provide("$http",axios)


app.mount('#app');